How to query custom RQM test suite section with RPE?
We're using RQM 4.0.2. We've added a custom section to one of our test suites called "Test Suite Objective". We can see that section show up in the XML when we query the feed of test suites using a web browser. The snippet of XML that captures the information we want to query is under feed/entry/content, and it looks like this:
- <dynamicSection_1377557008954 xmlns="http://jazz.net/xmlns/alm/qm/v0.1/" extensionDisplayName="Test Suite Objective">
... the rich text content inside section ...
</dynamicSection_1377557008954>
However, neither of the QM schemas we're using in RPE allow us to access a field called "dynamicSection". We've tried both the feed.xsd and qm.xsd schemas.
Should we be using a different schema (i.e. something other than the feed.xsd or qm.xsd)? Or is there something within the feed.xsd or qm.xsd schema that will allow us to get at the dynamicSection?
Thanks,
Joe
- <dynamicSection_1377557008954 xmlns="http://jazz.net/xmlns/alm/qm/v0.1/" extensionDisplayName="Test Suite Objective">
... the rich text content inside section ...
</dynamicSection_1377557008954>
However, neither of the QM schemas we're using in RPE allow us to access a field called "dynamicSection". We've tried both the feed.xsd and qm.xsd schemas.
Should we be using a different schema (i.e. something other than the feed.xsd or qm.xsd)? Or is there something within the feed.xsd or qm.xsd schema that will allow us to get at the dynamicSection?
Thanks,
Joe
Accepted answer
The element name is actually dynamicsection_1377557008954.
Custom sections can be included in RPE documents if those sections are in a template. That is, sections that are only attached to specific instances of testplans/testcases won't be included in the XML schema (qm.xsd).
Note, custom sections that are type "GRID" will not be included in the schema because they are not stored as XHTML (stored as JSON). For more information, see REST API : provide xhtml for grid sections instead of JSON (20459).
Custom sections can be included in RPE documents if those sections are in a template. That is, sections that are only attached to specific instances of testplans/testcases won't be included in the XML schema (qm.xsd).
Note, custom sections that are type "GRID" will not be included in the schema because they are not stored as XHTML (stored as JSON). For more information, see REST API : provide xhtml for grid sections instead of JSON (20459).